package com.gsmr.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gsmr.dao.ServerStateDao;
import com.gsmr.entity.ServerState;
import com.gsmr.entity.Serverinfo;
import com.gsmr.service.ServerStateService;

/**
 * ServerStateService实现类
 * @author ServerState
 *
 */
@Service("serverStateService")
public class ServerStateServiceImpl implements ServerStateService{

	@Resource
	private ServerStateDao serverStateDao;
	

	public List<ServerState> find(Map<String, Object> map) {
		return serverStateDao.find(map);
	}

	public Long getTotal(Map<String, Object> map) {
		return serverStateDao.getTotal(map);
	}

	@Override
	public List<Serverinfo> getServer(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return serverStateDao.getServer(map);
	}
}